﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="ShowProjectImages.aspx.cs" Inherits="ShowProjectImages" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        项目成果图片
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
        <dx:ASPxGridView ID="gvShowImages" runat="server" AutoGenerateColumns="False" KeyFieldName="Project_ID">
            <SettingsPager PageSize="1" Visible="true" SEOFriendly="Enabled">
                <Summary Text="当前第{0}页，共{1}页，{2}条记录" />
            </SettingsPager>
            <Settings ShowColumnHeaders="False" />
            <Templates>
                <DataRow>
                    <table class="templateTable">
                        <tr>
                            <td>
                                <asp:Image ID="Image1" runat="server" Width="700px" Height="450px" ImageUrl='<%# Eval("Images_Path")%>' />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dx:ASPxMemo ID="ASPxMemo1" runat="server" Height="70px" Width="700px" Text='<%# Eval("Img_Des")%>'>
                                </dx:ASPxMemo>
                            </td>
                        </tr>
                    </table>
                </DataRow>
            </Templates>
        </dx:ASPxGridView>
    </div>
   <%-- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ManagerConnectionString2 %>"
        SelectCommand="SELECT * FROM ProjectDetails INNER JOIN ProjectImages ON ProjectDetails.Project_ID = ProjectImages.Project_ID">
    </asp:SqlDataSource>--%>
</asp:Content>
